package com.zzq.service;

import com.aliyuncs.exceptions.ClientException;
import com.zzq.domain.entity.SmilePointGoods;
import com.zzq.domain.search.PointGoodsSearchParamet;
import com.zzq.result.SmileResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface PointGoodsAdminService {
    public SmileResult getPointGoodsDTOList(PointGoodsSearchParamet searchParamet);
    public SmileResult add(MultipartFile goodsCoverFile, Long couponRuleId, SmilePointGoods pointGoods) throws IOException, ClientException;

    public SmileResult upd(MultipartFile goodsCoverFile, SmilePointGoods pointGoods) throws IOException, ClientException;

    public SmileResult del(Long goodsId);

}
